package com.study.forumsystemproject.service;

import com.study.forumsystemproject.model.Board;

import java.util.List;

public interface IBoardService {
    List<Board> getBoards(Integer num);
    /**
     * Description: addOneArticleById
     * Param: * @param id
     * @param count
     * return: void
     * Author: xiaoxie
     * Date: 20:33 2024/8/18
    */
    void addOneArticleById(Long id,Integer count);
    /**
     * Description: subOneArticleById

     * @param id and count
     * return: void
     * Author: xiaoxie
     * Date: 20:33 2024/8/18
    */
    void subOneArticleById(Long id);
    Board getBoardById(Long id);
}
